// Copyright 2013 by Rod Moten
//
// This program is part of the Grambler project.
// 
// Grambler is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as 
// published by the Free Software Foundation, either version 3 of 
// the License, or (at your option) any later version.
//
// Grambler is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with Grambler.  If not, see <http://www.gnu.org/licenses/>..
package edu.hendrix.grambler;

/**
 * @author profmocs@gmail.com
 *
 */
public interface Action {
	/**
	 * @param tree - the parse tree that was produced after matching the production this action is attached to.
	 * @return Returns the result of executing the action. 
	 */
	public Object execute (Tree tree) throws Throwable;

}
